<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="<?php echo $_BASE_DIR?>css_v1/style.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $_BASE_DIR?>css_v1/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/jquery.js"></script>
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/jmw.js"></script>
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/select-ui.min.js"></script>
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/jquery.DatePicker.js"></script>
<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 110
	});
});
</script>



</head>


<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="<?php echo url("leftmenu/bottom")?>">首页</a></li>
    <li><a href="#">自定义模块</a></li>
    </ul>
    </div>

    <div class="rightinfo">
        <div class="tools">

            <ul class="toolbar">
                <li ><a href="<?php echo url("module/add",array('mz_acctid'=>$mz_acctid))?>"><span><img src="<?php echo $_BASE_DIR?>images_v1/t01.png" /></span>添加</a></li>
                <li ><a href="#" onclick="editindex('id','<?php echo url("module/add")?>/mz_acctid/<?php echo $mz_acctid?>/id/')"><span><img src="<?php echo $_BASE_DIR?>images_v1/t02.png" /></span>修改</a></li>
                <li class="click"><a href="#" onclick="isDel('id','<?php echo url('module/del')?>','ids[]')"><span><img src="<?php echo $_BASE_DIR?>images_v1/t03.png" /></span>批量删除</a></li>
            </ul>
            <ul style="float:right;">

            </ul>
	
<!--------------------------------------->
	
	<form method="post" action="<?php echo url("module/index") ?>">
	<div class="toolgmm" >
    <ul class="seachform">
   <li>
				<label>模块名称：</label>
				<input type="text" name="name" class="scinputjmw" value="<?php echo isset($param['name'])?$param['name']:'';?>"/>
				<input type="hidden" name="_querymethod[name]" value="like"/>
			</li>

     <li><label>&nbsp;</label><input type="submit" class="scbtn" value="查询" style="width:60px;"/></li>
    </ul>
</div>	
</form>	


    </div>

	<!---------------------------------------------------- --> 	

    
	

	<form action="" method="post" name="form">
    <table class="tablelist">

    	<thead>
    	<tr>
      
      <th width="5%"><input type="checkbox" value="on" name="chkall" onClick="CheckAll(this.form)"/></th>
        		<th width="10%"  >排序</th>		
				<th width="15%" >模块名称</th>				
				<th width="40%" >模块跳转链接</th>
				<th width="15%" >模块图片</th>
				<th width="20%" >添加时间</th>
        </tr>
        </thead>
        <tbody>
        <?php foreach($item as $k=>$v):?>
        <tr>       
         <td><input name="id" id="id" type="checkbox" value="<?php echo $v->id?>" /></td>
				<td><?php echo h($v->sequence)?></td>
				<td><?php echo h($v->name)?></td>
				<td><?php echo h($v->url)?></td>
				<td><a href="<?php echo $v->img?>">点击查看</a></td>	
				<td><?php echo date('Y-m-d H:i:s',$v->created)?></td>			
        </tr> 
	   <?php endforeach;?>
        </tbody>
    </table>
    </form>

    <?php echo Q::control('pagination','pagination',array('url_args'=>$param,'pagination'=>$pagination,'show_count'=>1))?>

    
    </div>
    
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>

</body>

</html>

